import type { SearchPageTypes } from '@/resources/interface/ResultTypes'

export interface UserAddDTOType {
  userName: string
  password: string
  realName: string
  email: string
  phone: string
  role: number
}

export interface UserUpdateDTOType {
  id: number
  userName: string
  password: string
  realName: string
  email: string
  phone: string
  role: number
}

export interface UserSearchDTOType {
  userName: string
  realName: string
  role: string
  page: SearchPageTypes
}

export interface UserSearchVOType {
  id: number
  userName: string
  password: string
  realName: string
  email: string
  phone: string
  role: number
  createTime: string
  updateTime: string
  createBy: string
  updateBy: string
}

export interface LoginUserType {
  password: string
  userName: string
}

export interface UserLoginVOType {
  userName: string
  realName: string
  role: number
  id:number
}
